import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /collectionCycle/{id}
 */
export function getCollectionCycleById(params: GetCollectionCycleByIdParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/collectionCycle/${params.id}`, config);
}

export interface GetCollectionCycleByIdParams {
    id: number;
}
